projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fcabe9
)
tools: babl-gen-test-pixels: add explicit return 0
author
Roman Lebedev
<lebedev.ri@gmail.com>
Mon, 22 Aug 2016 12:25:31 +0000
(15:25 +0300)
committer
Jehan
<jehan@girinstud.io>
Fri, 26 Aug 2016 02:44:52 +0000
(
04:44
+0200)
Gcc-4.9 warns:
babl-gen-test-pixels.c: In function ‘main’:
babl-gen-test-pixels.c:170:1: error: control reaches end of non-void function [-Werror=return-type]
tools/babl-gen-test-pixels.c
patch
|
blob
|
history
diff --git
a/tools/babl-gen-test-pixels.c
b/tools/babl-gen-test-pixels.c
index 0231224989ffdeaf7fa6788d788ca794b557c8a1..54c1b1629b579617cd743084c1ac715a61a63447 100644
(file)
--- a/
tools/babl-gen-test-pixels.c
+++ b/
tools/babl-gen-test-pixels.c
@@
-167,4
+167,6
@@
int main (int argc, char **argv)
gen_path_pixels ();
gen_model_pixels ();
gen_type_pixels ();
-}
\ No newline at end of file
+
+ return 0;
+}